package com.example.wx_zl_gzh_demo.config;

import com.example.wx_zl_gzh_demo.entity.message.Article;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * $
 $ * @return $
 * @author $
 * @description TODO
 * @date $ $
 */
@Component
@ConfigurationProperties(prefix = "message")
public class MessageConfig {
    private String keyword;
    private Article article;

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }
}

